import axios from 'axios'
// 创建一个axios实例
const service = axios.create({

  baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
  // withCredentials: true, // send cookies when cross-domain requests
  timeout: 300000 // request timeout
})
// 响应拦截器
export default service
